#ifndef TEXTUPBUTTONLISTENER_H_
#define TEXTUPBUTTONLISTENER_H_

#include "../../SDLtoolkit/Listener.h"
#include "../../SDLtoolkit/widgets/TextScrollBarElement.h"


#include <list>

class TextUpButtonListener: public Listener {
public:
	TextUpButtonListener();
	TextUpButtonListener(std::list<TextScrollBarElement*>* elements);
	virtual ~TextUpButtonListener();
	void execute();
private:
	std::list<TextScrollBarElement*>* elements;
	std::list<TextScrollBarElement*>::iterator it_element;
};

#endif /* TEXTUPBUTTONLISTENER_H_ */
